import firebase from "firebase/app";
import "firebase/auth";
import "firebase/firestore";

const firebaseConfig = {
    apiKey: "AIzaSyCi4mAxaPv91Q0b-ncAdofC6gBQB7GfQc8",
    authDomain: "music-443e0.firebaseapp.com",
    projectId: "music-443e0",
    storageBucket: "music-443e0.appspot.com",
    messagingSenderId: "607311399401",
    appId: "1:607311399401:web:d8e0c01fc7d32dda80e378"
};

firebase.initializeApp(firebaseConfig);

const auth = firebase.auth();
const db = firebase.firestore();

const usersCollection = db.collection('users');

export  {
  auth,
  db,
  usersCollection,
}